<script setup>

import VIcon from "../../../components/icon/VIcon.vue";
import store from "../../../store/index.js";
</script>

<template>
  <div class="v-sidebar-logo">
    <v-icon :hover="false" icon="ElementPlus" size="25" color="#409EFF"/>
    <span class="v-logo-text" v-show="!store.getters.isCollapsed">Element Plus</span>
  </div>
</template>

<style scoped lang="scss">
.v-sidebar-logo {
  height: 50px;
  box-sizing: border-box;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  /*添加过渡效果*/
  transition: all 0.3s ease;
  
  .v-logo-text {
    margin-left: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--v-sidebar-text-color);
  }
}
</style>